﻿using Abp.AutoMapper;
using System.ComponentModel.DataAnnotations;

namespace Sunlit.Business.Enterprises.Dto
{
    [AutoMapTo(typeof(EnterpriseMessage))]
    public class CreateEnterpriseMessageInput
    {
        /// <summary>
        /// 留言联系人
        /// </summary>
        [StringLength(32)]
        public string LinkMan { get; set; }
        /// <summary>
        /// 留言人电话
        /// </summary>
        [StringLength(32)]
        public string PhoneNumber { get; set; }
        /// <summary>
        /// 留言内容
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 留言文章ID
        /// </summary>
        public long EnterpriseId { get; set; }
        /// <summary>
        /// 留言接收者ID
        /// </summary>
        public long? ReceiverId { get; set; }
    }
}
